package com.zhizhi.service.impl;

import com.zhizhi.entity.User;
import com.zhizhi.mapper.UserMapper;
import com.zhizhi.service.UserService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author zhizhi
 * @since 2021-12-23
 */
@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UserMapper userMapper;
    @Override
    public User loginUser(String b_username, String b_password) {
        return userMapper.loginUser(b_username,b_password);
    }
}
